<?php 
/*
* 阅读日志页面
*/
if(!defined('EMLOG_ROOT')) {exit('error!');} 
?>
<div id="body">

<div id="content" class="clearfix">
	<h2><?php topflg($top); ?><?php echo $log_title; ?></h2>
	<p class="date">作者：<?php blog_author($author); ?> 发布于：<?php echo gmdate('Y-n-j G:i l', $date); ?> 
	<?php blog_sort($logid); ?> <?php editflg($logid,$author); ?>
	</p>
	<?php echo $log_content; ?>
	<p class="tag"><?php blog_tag($logid); ?></p>
	<p><?php blog_trackback($tb, $tb_url, $allow_tb); ?></p>
<!--Amanda add 2012-8-14 新浪微博-->
<script type="text/javascript" charset="utf-8">
(function(){
  var _w = 106 , _h = 24;
  var param = {
    url:location.href,
    type:'5',
    count:'', /**是否显示分享数，1显示(可选)*/
    appkey:'2710165239', /**您申请的应用appkey,显示分享来源(可选)*/
    title:'<?php echo $log_title; ?>', /**分享的文字内容(可选，默认为所在页面的title)*/
    pic:'', /**分享图片的路径(可选)*/
    ralateUid:'1734540517', /**关联用户的UID，分享微博会@该用户(可选)*/
	language:'zh_cn', /**设置语言，zh_cn|zh_tw(可选)*/
    rnd:new Date().valueOf()
  }
  var temp = [];
  for( var p in param ){
    temp.push(p + '=' + encodeURIComponent( param[p] || '' ) )
  }
  document.write('<iframe allowTransparency="true" frameborder="0" scrolling="no" src="http://hits.sinajs.cn/A1/weiboshare.html?' + temp.join('&') + '" width="'+ _w+'" height="'+_h+'"></iframe>')
})()
</script>

<a href="javascript:;" class="tmblog" id="share_btn_qq"><img src="http://mat1.gtimg.com/app/opent/images/websites/share/b24.png" border="0" alt=""></a>
<script src="http://mat1.gtimg.com/app/opent/js/qshare_min.js"></script>
<script>
_share_tencent_weibo({
	"appkey":"801195398"	/*你从腾讯微博开放平台获得的appkey*/
	,"btn":document.getElementById("share_btn_qq")	/*一键转播按钮*/
	,"title":"<?php echo $log_title; ?>"
	,"pic":""
	,"qshareable":false	/*不绑定Q-Share功能*/
	,"assname":"lzuhzy"	/*转播后收听的微博帐号*/
});
</script>
<!--add end-->
	<?php doAction('log_related', $logData); ?><hr />
	
	<?php neighbor_log($neighborLog); ?>
	
	<?php blog_comments($comments); ?>
	<?php blog_comments_post($logid,$ckname,$ckmail,$ckurl,$verifyCode,$allow_remark); ?>
	<div style="clear:both;"></div>
</div><!--end #contentleft-->
<?php
 include View::getView('side');
 include View::getView('footer');
?>
